package com.kfm.jdbc.day0327.entity;

import java.util.Date;

public class Goods {

    private int goodsNo;

    private String goodsName;

    private double cost;

    private double price;

    private int count;


    private Date createTime;

    private int categoryNo;


    @Override
    public String toString() {
        return "Goods{" +
                "goodsNo=" + goodsNo +
                ", goodsName='" + goodsName + '\'' +
                ", cost=" + cost +
                ", price=" + price +
                ", count=" + count +
                ", createTime=" + createTime +
                ", categoryNo=" + categoryNo +
                '}';
    }

    public int getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(int goodsNo) {
        this.goodsNo = goodsNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getCategoryNo() {
        return categoryNo;
    }

    public void setCategoryNo(int categoryNo) {
        this.categoryNo = categoryNo;
    }
}
